package com.gdkj.entity.game;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 游戏记录表
 */
@Data
@Table(name = "cmf_video_game_room_seat_record")
public class CmfVideoGameRoomSeatRecord implements Serializable {

    private static final long serialVersionUID =  4922000206008601216L;

    @Id
    @ApiModelProperty(value = "主键id")
    @GeneratedValue(generator = "JDBC")
    private Integer id;

    @ApiModelProperty(value = "用户id")
    private Integer uid;

    @ApiModelProperty(value = "房间id")
    private Integer roomId;

    @ApiModelProperty(value = "座位号")
    private Integer seatNumber;

    @ApiModelProperty(value = "控制面板唯一标识符")
    private String controlBoardId;

    @ApiModelProperty(value = "充值金币")
    private Integer rechargeCoin;

    @ApiModelProperty(value = "消耗金币数量")
    private Integer consumeCoin;

    @ApiModelProperty(value = "退票积分数量")
    private Long returnTicketAmount;

    @ApiModelProperty(value = "退票金币")
    private BigDecimal returnCoin;

    @ApiModelProperty(value = "加入时用户金币余额")
    private Integer joinUserCoin;

    @ApiModelProperty(value = "离开时用户金币余额")
    private Integer leaveUserCoin;

    @ApiModelProperty(value = "玩一次消耗的金币数量")
    private Integer playUseCoin;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "下机器时间")
    private LocalDateTime leaveMachineTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "上机时用户的vip等级")
    private Integer vipLevel;

    @ApiModelProperty(value = "上机截图")
    private String onMicPic;

    @ApiModelProperty(value = "下机截图")
    private String offMicPic;

    @ApiModelProperty(value = "巅峰值")
    private Integer topMatchNum;

    @ApiModelProperty(value = "巅峰值概率")
    private BigDecimal addTopRate;

    @ApiModelProperty(value = "抓取娃娃个数")
    private Integer dropToysNum;

    @ApiModelProperty(value = "使用的道具")
    private String useProp;
}
